package com.xl.singleton.enumfunc;

public class Test {

    public static void main(String[] args) {
        SingletonInstance s1  = SingletonInstance.INSTANCE;
        SingletonInstance s2  = SingletonInstance.INSTANCE;
        System.out.println(s1 == s2); // 输出的是 true
    }
 
}
